package com.zhilifang.modules.zlf.service.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhilifang.modules.zlf.dao.IndexShowMapper;
import com.zhilifang.modules.zlf.entity.IndexShow;
import com.zhilifang.modules.zlf.service.IndexShowService;


@Service("indexShowService")
public class IndexShowServiceImpl implements IndexShowService {

    @Autowired
    private IndexShowMapper mapper;

	@Override
	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return mapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(IndexShow record) {
		// TODO Auto-generated method stub
		return mapper.insert(record);
	}

	@Override
	public int insertSelective(IndexShow record) {
		// TODO Auto-generated method stub
		return mapper.insertSelective(record);
	}

	@Override
	public IndexShow selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return mapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(IndexShow record) {
		// TODO Auto-generated method stub
		return mapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(IndexShow record) {
		// TODO Auto-generated method stub
		return mapper.updateByPrimaryKey(record);
	}

	@Override
	public List<IndexShow> selectListData() {
		// TODO Auto-generated method stub
		return mapper.selectListData();
	}



}